package com.luyuan.gallery.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.luyuan.common.annotation.Excel;
import com.luyuan.common.core.domain.BaseEntity;

/**
 * 点赞记录对象 exhi_likes
 * 
 * @author luyuan
 * @date 2025-11-19
 */
public class ExhiLikes extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 业务ID */
    @Excel(name = "业务ID")
    private Long bizId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 业务类型（1-展厅，2-作品，3-评论) */
    @Excel(name = "业务类型(1-2-3-评论)")
    private Integer bizType;

    /** 点赞状态（0-取消点赞，1-已点赞） */
    @Excel(name = "点赞状态", readConverterExp = "0=-取消点赞，1-已点赞")
    private Integer status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public Long getBizId() {
        return bizId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setBizType(Integer bizType) {
        this.bizType = bizType;
    }

    public Integer getBizType() {
        return bizType;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("bizId", getBizId())
                .append("userId", getUserId())
                .append("bizType", getBizType())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
